<!DOCTYPE html>
<html>
<head>
    <title>自动播放视频</title>
</head>
<body>

<video id="myVideo" width="320" height="240" controls autoplay>
    <source src="./testVideo.mp4" type="video/mp4">
</video>

</body>
</html>